﻿<Window x:Class="Sample_WPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <DockPanel LastChildFill="True">
        <Menu DockPanel.Dock="Top">
            <MenuItem Name="cmd" Header="Get people" Click="MenuItem_Click" />
        </Menu>
        <DataGrid ItemsSource="{Binding People}" />
    </DockPanel>
</Window>